package com.zHan.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zHan.model.system.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author zHan
 * @since 2023-06-23
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    // 根据userId查询菜单权限
    List<SysMenu> selectMenuListByUserId(@Param("userId") String userId);
}
